package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城用户历史搜索
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("search_history_recored")
public class SearchHistoryRecored extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商城用户主键id
     */
    @TableField("member_id")
    private Integer memberId;
    /**
     * 搜索内容
     */
    @TableField("serach_name")
    private String serachName;

    /**
     * 类型(1普通商品 2 拼团商品 3 礼品卡 4 故事 5 店铺)
     */
    private Integer type;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_delete")
    private Integer isDelete;


}
